package com.manage.modules.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.manage.modules.domain.TBaseFaultPhoto;
import com.manage.modules.domain.TBaseServicePhoto;

import java.util.Collection;
import java.util.List;

/**
 * 维护信息照片Service接口
 *
 * @author xu
 * 2021/8/19 10:13
 */
public interface ITBaseServicePhotoService extends IService<TBaseServicePhoto> {

    /**
     * 根据维护ID查询
     */
    List<TBaseServicePhoto> findByServiceId(Long serviceId);

    /**
     * 根据维护ID集合删除
     */
    void deleteByServiceIds(Collection<Long> ids);


    void delete(List<TBaseServicePhoto> photoList);
}
